import {createWebHashHistory, createRouter, createWebHistory} from 'vue-router'
const routes = [
    {
        path: '/',
        redirect: '/about'
    },
    {
        path: '/about',
        name:'about',
        component: () => import('@/components/HelloWorld.vue'),
    },
    {
        path: '/sd',
        name:'sd',
        component: () => import('@/components/sd.vue')
    },
]

const router = createRouter({
    // history: createWebHashHistory('/'),
    history:createWebHistory('/'),
    routes,
})
export default router;
